<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8">
<title>首页</title>
</head>
<body>
	<a shiro:hasPermission="users:delete" th:href="@{/users/userDel}">删除</a>
	<input type="button" value="添加"><br>
	<div th:each="roles:${users.roleList}">
		<span th:text="${roles.desc}"></span>
		<div th:each="permission:${roles.permissionList}">
			<a th:text="${permission.name}" th:href="@{${permission.desc}}"></a>
		</div>
	</div>
</body>
</html>